import { Order } from '../database/database'

export default {
    get : async(id) =>{
        return await Order.findById(id)
    },
    save : async(order) => {
        await Order.upsert(order);
    },
}